﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="Home.aspx.cs" Inherits="OpSystem.Home" %>

<!DOCTYPE html>

<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    <title></title>
    <!-- #include file="include/header.html" -->
</head>
<body class="hold-transition skin-blue sidebar-mini">
    <div class="wrapper">
        <!-- header  -->
        <header class="main-header">
            <!-- Logo -->
            <a href="Home.aspx" class="logo">
                <!-- mini logo for sidebar mini 50x50 pixels -->
                <div class="logo-mini">
                    <div class="img-box">
                        <img src="images/logo-white-mini.png" alt="斑马车务" />
                    </div>

                </div>
                <!-- logo for regular state and mobile devices -->
                <div class="logo-lg">
                    <div class="img-box">
                        <img src="images/logo-white-large.png" alt="斑马车务" />
                    </div>

                </div>
            </a>
            <!-- Header Navbar: style can be found in header.less -->
            <nav class="navbar navbar-static-top">
                <!-- 菜单显示隐藏按钮 -->
                <a href="#" class="sidebar-toggle" data-toggle="push-menu" role="button">
                    <span class="sr-only"></span>
                </a>
                <div class="navbar-custom-menu">
                    <ul class="nav navbar-nav">

                        <li class="dropdown user user-menu">
                            <a href="#" class="dropdown-toggle" data-toggle="dropdown">
                                <img src="images/avatar.png" class="user-image" alt="User Image">
                                <span class="hidden-xs"><%=CurrentUser.UserName %></span>

                            </a>
                            <ul class="dropdown-menu">
                                <li class="menu" style="border-bottom:1px solid #eee;">
                                    <a style="padding: 10px;" href="javascript:;" onclick="BMCW.rightMain('ResetPassword.aspx')">
                                        <i class="fa fa-fw fa-edit"></i>
                                        修改密码</a>
                                </li>
                                <li class="menu">
                                    <a style="padding: 10px;"  href="<%=OF.Security.PassportClientSettings.GetConfig().LogOffUrl %>">
                                        <i class="fa fa-fw fa-sign-out"></i>
                                        退出</a>
                                </li>
                            </ul>
                        </li>
                    </ul>
                </div>



            </nav>
        </header>

        <!-- 左侧导航 -->
        <aside class="main-sidebar">
            <section class="sidebar">
                <ul class="sidebar-menu" data-widget="tree">
                   

                </ul>
            </section>
            <!-- /.sidebar -->
        </aside>

        <!-- Content Wrapper. Contains page content -->
        <div class="content-wrapper">
            <iframe id="menuFrame" name="menuFrame" src="UserSystem.aspx" style="overflow:visible;" scrolling="auto" frameborder="no" height="100%" width="100%">
            </iframe>
        </div>
    </div>
    <!-- ./wrapper -->

    <!-- #include file="include/footer.html" -->
    <script src="js/sidebarMenu.js?tn=12"></script>
    <script>
        $("#menuFrame").height(window.innerHeight - 56);
        var menus = <%=menuli%>;
        $('.sidebar-menu').sidebarMenu({ data: menus });
      
    </script>
</body>
</html>
